package com.carp.springframework.beans.factory.support;

/**
 * Internal representation of a null bean instance
 */
final class NullBean {

    NullBean() {
    }


    @Override
    public boolean equals(Object obj) {
        return (this == obj || obj == null);
    }

    @Override
    public int hashCode() {
        return NullBean.class.hashCode();
    }

    @Override
    public String toString() {
        return "null";
    }

}
